#!/bin/bash

git clone --depth=1 https://gitee.com/hevey88/macports-base.git
cd macports-base || exit
./configure && make && sudo make install
cd .. && rm -rf macports-base

: <<COMMENT

bash -c "$(curl -fsSL https://gitee.com/hevey88/install_script/raw/main/macos/install_macports.sh)"

COMMENT
